﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Qianke.Core.Common.NameMutex
{
    public interface INameMutex : IAsyncDisposable,IDisposable
    {
        Task InitializeAsync(string mutexName);

        Task EnterAsync();

        Task ExitAsync();
    }

}
